<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <script src="../js/tools.js"></script>

    <script src="../js/api.js"></script>

    <script>

        document.onclick = async function() {
            const username = 'aa' ;
            const userpwd = '123' ;
            const usertel = '18888' ;

            

            const res = await reg({
                username ,
                userpwd ,
                usertel
            }) ;

            console.log(res);
        }

    </script>
    
</body>
</html>